package com.example.jdbctemplateplusexample.repository.arcapply.entity;

import io.gitee.cofenghen.jdbctempleplus.annotation.Column;
import io.gitee.cofenghen.jdbctempleplus.annotation.Id;
import io.gitee.cofenghen.jdbctempleplus.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Table("ARC_SEARCH") //todo: Table 表名必须是大写  若是不写 ，以大驼峰的方式去下划线命名
public class ArcSearch implements Serializable  {


@Schema(description = "--主键")
@Id
@Column("SEARCHID")
private BigDecimal searchid;

@Schema(description = "--查询类别0：网络申请；1：自助查询；2：窗口业务;3:微信申请; 5:外接口")
@Column("SEARCHTYPE")
private Integer searchtype;

@Schema(description = "--网络、微信申请时用")
@Column("APPLYID")
private BigDecimal applyid;

@Schema(description = "--受理人员")
@Column("TRANSACTOR")
private String transactor;

@Schema(description = "--受理时间")
@Column("ACCEPTTIME")
private Date accepttime;

@Schema(description = "--审批日期")
@Column("APPROVE_DATE")
private Date approveDate;

@Schema(description = "--审批状态0：在办 1：审批通过 2：不予受理3：无查询结果 4:作废 5：撤销")
@Column("APPROVE_STATE")
private Integer approveState;

@Schema(description = "--审批人员姓名")
@Column("APPROVE_USERNAME")
private String approveUsername;

@Schema(description = "--查询编码 规则：年（4位）+月（2位）+查询类别（补2位）+申请类别（补2位）+序列（按年+月递增）")
@Column("SEARCHNO")
private String searchno;

@Schema(description = "--创建时间")
@Column("CREATEDATE")
private Date createdate;

@Schema(description = "--修改时间")
@Column("MODIFYDATE")
private Date modifydate;

@Schema(description = "--创建人")
@Column("CREATEUSER")
private String createuser;

@Schema(description = "--修改人")
@Column("MODIFYUSER")
private String modifyuser;

@Schema(description = "--是否为旧业务的数据 1:是旧业务数据 0：不是旧业务数据 默认为0")
@Column("ISOLDBUSINESS")
private Integer isoldbusiness;

@Schema(description = "--受理人员ID")
@Column("TRANSACTOR_USERID")
private BigDecimal transactorUserid;

@Schema(description = "--审批人员ID")
@Column("APPROVE_USERID")
private BigDecimal approveUserid;

@Schema(description = "--区域")
@Column("REGOINID")
private Integer regoinid;

@Schema(description = "--是否查询过结果（针对网上房地产的查询） 0：未查询  1：已查询结果  ")
@Column("ISSEARCHRESULT")
private Integer issearchresult;

@Schema(description = "--当前流程的主键ID")
@Column("NODECASEID")
private BigDecimal nodecaseid;

@Schema(description = "--当前业务的版本号 避免造成数据修改影响业务的评估")
@Column("VERSIONNO")
private Long versionno;

@Schema(description = "--窗口票号")
@Column("QUEUENO")
private String queueno;

@Schema(description = "--线下窗口发送的状态 0：未发送 1：已发送成功 2：发送错误 具体错误查看发送表的日志")
@Column("UNDERLINESTATUS")
private Integer underlinestatus;

@Schema(description = "--网上自动审核的错误   1:表示错误 0:表示无错")
@Column("WSAUTOERRORSTATUS")
private Integer wsautoerrorstatus;

@Schema(description = "--网上自助审核的错误内容")
@Column("WSAUTOERRORCONTENT")
private String wsautoerrorcontent;

@Schema(description = "--网上自助审核的错误时间")
@Column("WSAUTOERRORDATE")
private Date wsautoerrordate;

@Schema(description = "--申报省网流水号")
@Column("SBLSH_SW")
private String sblshSw;

@Schema(description = "--一体化收件码读取状态")
@Column("YTHSJM_STATUS")
private Integer ythsjmStatus;
}
